package com.wangsb.service.impl;

import com.wangsb.domain.User;
import com.wangsb.service.ValidateExtensionService;

/**
 * @author wangshenbing
 * @date 2024/01/17
 **/
public class ValidateExtensionServiceImpl implements ValidateExtensionService {
    @Override
    public boolean checkUser(User user) {
        if (user.getNickname().contains("sunzi")){
            return false;
        }
        return true;
    }

}